#include <QCoreApplication>
#include "server.h"

int main(int argc,char *argv[])
{
    QCoreApplication app(argc,argv);

    Server server;
    if(!server.start(8000))
    {
        qDebug() << "start listen failed";
        return 1;
    }
    
    return app.exec();
}